package com.group.prescription.entity;

import com.group.commons.util.CommonStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Prescription {
//    处方单id
private   int id;
//    审核状态
private    CommonStatus status;
//    医生类 需要用到id
//private    Doctor doctor;
    //部门类  需要用到id
//private  Department  department;

    //患者类  需要用到id
//    private  Patient patient;
    private int doctorId;
    private int patientId;
    private int departmentId;
    //处方开单时间
    private Date bulidTime;
    //开始时间
    private String startTime;
    //结束时间
    private String endTime;
    private BigDecimal  cost;
}
